<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" href="../ucs.css">
	</head>
	<body>
	<div id="main" ></div>
	<script type="text/javascript" src="../../dist/libs/u-eventhub.js"></script>
	<script type="text/javascript" src="../../dist/libs/engine.js"></script>
	<script type="text/javascript" src="../../dist/ucsmy-ui.js"></script>
	<script>
		var phoneDM = new UDM({//手机号
			id:'',
			name:'',
			validator:[
				{type:"require",msg:"不能为空！"},
				{
					type:"fn",
					fn:function(v){
						if(v == 123){
							return true;
						}else{
							return false;
						}
					},
					msg:"xxxxx"
				}
			],
			correctMsg:"对了"
		});
		var phoneDM2 = new UDM({});
		var PageDM = {
			input1:phoneDM,
			input2:phoneDM2
		}
	</script>
    </body>
</html>
